﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>文本编辑器</title>
<script type="text/javascript" src="../xh/jquery/jquery-1.3.2.js"></script>
<script type="text/javascript" src="../xh/xheditor-zh-cn.min.js"></script>
<link rel="stylesheet" type="text/css" href="xh/xhedit_common.css"/>
<script type="text/javascript">
function getvalue(){
   $('#xh_editor').val();	
}
</script>
</head>

<body >
<p>文本编辑器通用JS使用说明</p>
<p>1、需要引入</p>
<p>&lt;script type=&quot;text/javascript&quot; src=&quot;jquery/jquery-1.3.2.js&quot;&gt;&lt;/script&gt;<br />
  &lt;script type=&quot;text/javascript&quot; src=&quot;xh/xheditor-zh-cn.min.js&quot;&gt;&lt;/script&gt;<br />
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;xh/xhedit_common.css&quot;/&gt;</p>
<p>2、文本区域加上class</p>
<p>&lt;textarea name=&quot;neir&quot; id=&quot;neir1&quot; cols=&quot;87&quot; rows=&quot;15&quot; class=&quot;xheditor {skin:'default'}&quot;&gt;&lt;/textarea&gt;</p>

<p>
  <textarea name="neir" id="neir1" cols="87" rows="15" class="xheditor {skin:'default'}"></textarea>
</p>
</body>
</html> 
